package com.gxa.user.repository;

import com.gxa.user.pojo.User;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by bill on 2021/1/7
 **/
public interface UserRepository extends CrudRepository<User,Long> {

    public User findUserByPhone(String phone);

    public User findUserByUsername(String username);

}
